package cn.admin.dao;

import cn.admin.entity.Power;

import java.util.List;

/**
 * @Author: 毛苏宇
 * @Description: You can do it!
 * @Date: Create in 12:36 2019/3/24
 */
public interface PowerMapper {

    /**
     * 查询权限
     * @return
     */
    List<Power> findPower(int adminId);

    /**
     * 插入权限
     * @param power
     * @return
     */
    int insertPower(Power power);

}
